package Day5Zuoye;

public class PetParrot extends Pet {
    public PetParrot(String name, String strain, int heavy) {
        super(name, strain, heavy);
    }

    public void show(){
        System.out.println("名字:"+getName()+"\t品种:"+getStrain()+"\t体重:"+getHeavy()+"g");
        System.out.println("鹦鹉起飞");
    }

}
